package dto

import "admin-system-go/model"

type RoleBaseDTO struct {
	ParentId uint   `json:"parentId" form:"parentId"`
	Name     string `json:"name,omitempty" form:"name"`
	Intro    string `json:"intro,omitempty" form:"intro"`
	State    int8   `json:"state" form:"intro"`
}

type RoleDelDTO struct {
	RoleIds []uint `json:"ids,omitempty" form:"ids"`
}

type RoleQueryDTO struct {
	model.Model
	RoleBaseDTO
	model.PageQuery
}

type RoleUpdateDTO struct {
	Id uint `json:"id"`
	RoleBaseDTO
}
